﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
 Inherits="System.Web.Mvc.ViewPage<System.Collections.Generic.List<CarBooker.Models.Car>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	GetCars
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>GetCars</h2>
        <div class="message"><%= Html.Encode(ViewData["Message"]) %></div>
        

  
    <div class="car-label">
    <%foreach (CarBooker.Models.Car car in Model)
      {%>  
            <div>
                <%= Html.Encode(car.DescribeCar()) %> 
            </div>
    <%} %>
    </div> 
    
</asp:Content>
